package com.example.mybatisplus.model.domain;
//
//public class Business {
//}
//package com.example.demo.model;

//package com.example.mybatisplus.model.domain;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
public class Business {
    @TableId // 标记主键字段
    private String businessId;
    private String name;
    private String address;
    private String city;
    private String state;
    private String postalCode;
    private Float latitude;
    private Float longitude;
    private Float stars;
    private Integer reviewCount;
    private Boolean isOpen;
    private String attributes;
    private String categories;
    private String hours;

    private Float distance;
    // 无参构造函数
    public Business() {
    }
    // 构造函数
    public Business(String businessId, String name, String address, String city, String state, String postalCode,
                    Float latitude, Float longitude, Float stars, Integer reviewCount, Boolean isOpen,
                    String attributes, String categories, String hours,Float distance) {
        this.businessId = businessId;
        this.name = name;
        this.address = address;
        this.city = city;
        this.state = state;
        this.postalCode = postalCode;
        this.latitude = latitude;
        this.longitude = longitude;
        this.stars = stars;
        this.reviewCount = reviewCount;
        this.isOpen = isOpen;
        this.attributes = attributes;
        this.categories = categories;
        this.hours = hours;
        this.distance=distance;
    }

    // Getters and Setters
    public String getBusinessId() {
        return businessId;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(String postalCode) {
        this.postalCode = postalCode;
    }

    public Float getLatitude() {
        return latitude;
    }

    public void setLatitude(Float latitude) {
        this.latitude = latitude;
    }

    public Float getLongitude() {
        return longitude;
    }

    public void setLongitude(Float longitude) {
        this.longitude = longitude;
    }

    public Float getStars() {
        return stars;
    }

    public void setStars(Float stars) {
        this.stars = stars;
    }

    public Integer getReviewCount() {
        return reviewCount;
    }

    public void setReviewCount(Integer reviewCount) {
        this.reviewCount = reviewCount;
    }

    public Boolean getOpen() {
        return isOpen;
    }

    public void setOpen(Boolean open) {
        isOpen = open;
    }

    public String getAttributes() {
        return attributes;
    }

    public void setAttributes(String attributes) {
        this.attributes = attributes;
    }

    public String getCategories() {
        return categories;
    }

    public void setCategories(String categories) {
        this.categories = categories;
    }

    public String getHours() {
        return hours;
    }

    public void setHours(String hours) {
        this.hours = hours;
    }

    public Float getDistance() {
        return distance;
    }

    public void setDistance(Float distance) {
        this.distance = distance;
    }

}
